package com.qujia.station.service;

import com.qujia.common.core.domain.AjaxResult;
import com.qujia.coupon.domain.CouponInfo;
import com.qujia.station.domain.CouponActivity;
import com.qujia.station.domain.DrawCoupon;
import com.qujia.station.domain.PayOrder;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Auther: LogicQin
 * @Date: 2023/8/4 12:08
 * @Description:
 */

public interface CouponActivityService {
    AjaxResult checkCouponActivity(CouponActivity couponActivity);

    AjaxResult sendCoupon(DrawCoupon drawCoupon);

    void addCouponActivity(CouponActivity couponActivity);

    void deleteCouponActivityById(String id);

    AjaxResult amtForList(List<String> issueIds);

//    AjaxResult addMoonCountAndDayCount(List<CouponInfo> couponInfos);

    void updateCouponActivity(CouponActivity couponActivAutowiredity);

    CouponActivity getCouponActivityById(String id);

    List<CouponActivity> getAllCouponActivities(CouponActivity couponActivity);

    void updateActivityStatus(String activityId, String activityStatus);

    void insertCouponActivityRelaIssue(Map<String, String> paramMap);

    void deleteCouponActivityRelaById(String activityId);

    void  physicalCardSendCoupon(PayOrder payOrder);

    int batchDeleteCouponActivities(List<String> idList);

    String checkCouponActivity(Integer enterpriseId, PayOrder payOrderInfo,Double amt );

    String getAppUserGrowLevel(String mobilePhone,Long enterpriseId);

    // 根据活动 ID 查询对应的 issue_id 列表
    List<String> getIssueIdsByActivityId(String activityId);

    List<String> getIssueIdsByActivityIdAndAmt(String activityId, BigDecimal receivedAmt);
}
